/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.stat;

import android.text.TextUtils;
import org.json.JSONObject;

public class l {
    private static String j = "PayBean";
    public int a = -1;
    public String b = "";
    public int c = -1;
    public String d = "";
    public int e = -1;
    public int f = -1;
    public String g = "";
    public String h = "";
    public long i = -1L;

    public l() {}

    public l(int paramInt1, int paramInt2, int paramInt3) {
        this.a = paramInt1;
        this.c = paramInt2;
        this.f = paramInt3;
        this.i = ai.o();
    }

    public l(int paramInt1, String paramString, int paramInt2, int paramInt3) {
        this.a = paramInt1;
        this.b = paramString;
        this.c = paramInt2;
        this.f = paramInt3;
        this.i = ai.o();
    }

    public l(int paramInt1, int paramInt2, int paramInt3, String paramString1, String paramString2) {
        this.a = paramInt1;
        this.c = paramInt2;
        this.f = paramInt3;
        this.g = paramString1;
        this.h = paramString2;
        this.i = ai.o();
    }

    public l(int paramInt1, String paramString1, int paramInt2, int paramInt3, String paramString2, String paramString3) {
        this.a = paramInt1;
        this.b = paramString1;
        this.c = paramInt2;
        this.f = paramInt3;
        this.g = paramString2;
        this.h = paramString3;
        this.i = ai.o();
    }

    public l(int paramInt1, int paramInt2, String paramString, int paramInt3) {
        this.a = paramInt1;
        this.d = paramString;
        this.e = paramInt2;
        this.f = paramInt3;
        this.i = ai.o();
    }

    public l(int paramInt1, String paramString1, int paramInt2, String paramString2, int paramInt3) {
        this.a = paramInt1;
        this.b = paramString1;
        this.d = paramString2;
        this.e = paramInt2;
        this.f = paramInt3;
        this.i = ai.o();
    }

    public l(int paramInt1, int paramInt2, String paramString1, int paramInt3, String paramString2, String paramString3) {
        this.a = paramInt1;
        this.d = paramString1;
        this.e = paramInt2;
        this.f = paramInt3;
        this.g = paramString2;
        this.h = paramString3;
        this.i = ai.o();
    }

    public l(int paramInt1, String paramString1, int paramInt2, String paramString2, int paramInt3,
            String paramString3, String paramString4) {
        this.a = paramInt1;
        this.b = paramString1;
        this.d = paramString2;
        this.e = paramInt2;
        this.f = paramInt3;
        this.g = paramString3;
        this.h = paramString4;
        this.i = ai.o();
    }

    public JSONObject a() {
        JSONObject localJSONObject = new JSONObject();
        try {
            if (this.a >= 0)
                localJSONObject.put("cash", this.a);
            if (!(TextUtils.isEmpty(this.b)))
                localJSONObject.put("cashType", this.b);
            if (this.c >= 0)
                localJSONObject.put("coin", this.c);
            if (!(TextUtils.isEmpty(this.d)))
                localJSONObject.put("props", this.d);
            if (this.e >= 0)
                localJSONObject.put("number", this.e);
            if (this.f >= 0)
                localJSONObject.put("source", this.f);
            if (!(TextUtils.isEmpty(this.g)))
                localJSONObject.put("level", this.g);
            if (!(TextUtils.isEmpty(this.h)))
                localJSONObject.put("rank", this.h);
            if (this.i >= 0L)
                localJSONObject.put("ts", this.i);
        } catch (Exception localException) {
            x.a(j, localException);
        } catch (Error localError) {
            x.a(j, localError);
        }
        return localJSONObject;
    }
}